package com.site.wisdom_construction.entity.iotModule;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.sql.Date;

/**
 * @Description  
 * @Author  DYF
 * @Date 2022-01-21 
 */
@ApiModel (value ="AI监控表实体类",description = "AiMonitoring")
public class AiMonitoringPush {
	/**
	 * AI监控表id
	 */
   	@ApiModelProperty(value = "AI监控表id", name = "id")
	private Integer id;

	/**
	 * 抓拍类型
	 */
   	@ApiModelProperty(value = "抓拍类型", name = "snapType")
	private String snapType;

	/**
	 * 抓拍时间
	 */
   	@ApiModelProperty(value = "抓拍时间", name = "snapTime")
	@JsonFormat(timezone = "GMT+8", pattern ="yyyy-MM-dd")
	private Date snapTime;

	/**
	 * 图片地址
	 */
   	@ApiModelProperty(value = "图片地址", name = "photoPath")
	private String photoPath;

	public AiMonitoringPush(){ super(); }

	public AiMonitoringPush(Integer id, String snapType, Date snapTime, String photoPath) {
		this.id = id;
		this.snapType = snapType;
		this.snapTime = snapTime;
		this.photoPath = photoPath;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getSnapType() {
		return snapType;
	}

	public void setSnapType(String snapType) {
		this.snapType = snapType;
	}

	public Date getSnapTime() {
		return snapTime;
	}

	public void setSnapTime(Date snapTime) {
		this.snapTime = snapTime;
	}

	public String getPhotoPath() {
		return photoPath;
	}

	public void setPhotoPath(String photoPath) {
		this.photoPath = photoPath;
	}

	@Override
	public String toString() {
		return "{" +
				"id=" + id +
				", snapType='" + snapType + '\'' +
				", snapTime=" + snapTime +
				", photoPath='" + photoPath + '\'' +
				'}';
	}
}
